#!/usr/bin/env python
# -*- coding: utf-8 -*-
# For sister Deng Hong
# Description: chrome browser proxy
# Date: 2018-04-15

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.chrome.options import Options

def __build_options():
  options = webdriver.ChromeOptions()
  options.add_argument("headless")
  return options

def build_browser():
  browser = webdriver.Chrome(chrome_options = __build_options())
  return browser